home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / math / gle-3.000 / gle-3 / gle / util / manip / makefile.os2 < prev    next >
Encoding:
Makefile  |  1995-02-07  |  1.0 KB  |  45 lines

  1. #
  2. #       Makefile for MANIP and EMX/GCC+NMAKE by Axel Rohde
  3. #
  4. all:    manip.exe
  5.  
  6. CC = gcc -O2 -m486 -fomit-frame-pointer -s 
  7.  
  8. #-Zomf -Zmtd
  9.  
  10. LIBS =  -lm -lvideo
  11. CFLAGS= -DEMXOS2 -DGOTSTRDUP
  12.  
  13. # NMAKE is a little braindead: 
  14. .SUFFIXES: .c .h .o
  15. .c.o:
  16.         $(CC) -c $(CFLAGS) $<
  17.  
  18.  
  19. # object files, 'turbo'-like
  20. OBJS = cell.o cmd.o eval.o filemenu.o fn.o general.o keyword.o\
  21.  manip.o polish.o sub.o token.o var.o turbo.o turboscr.o inkey.o
  22.  
  23.  
  24. HEADS = all.h color.h edt.h eval.h keyword.h mygraph.h vaxconio.h 
  25.  
  26.  
  27. manip.o: manip.c $(HEADS)
  28.         $(CC) -c -DGLEPATH=\"$(GLE_PATH)/\" $(CFLAGS) manip.c
  29.  
  30. manip.exe: $(OBJS) $(HEADS)
  31.         $(CC) -o manip.exe $(CFLAGS) $(OBJS) $(LIBS) def.def
  32.  
  33.  
  34. turbo.o:  ../../turbo.c ../../all.h
  35.         $(CC) -c -DMANIP $(CFLAGS) ../../turbo.c -o turbo.o
  36.  
  37. turboscr.o:  ../../turboscr.c ../../all.h
  38.         $(CC) -c -DMANIP $(CFLAGS) ../../turboscr.c -o turboscr.o
  39.  
  40. inkey.o:  ../../inkey.c ../../all.h
  41.         $(CC) -c -DMANIP $(CFLAGS) ../../inkey.c -o inkey.o
  42.  
  43.  
  44. $(OBJS): $(HEADS)
  45.